﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<IEnumerable<MShop.Core.Domain.Product>>" %>
<% MShop.Web.Controllers.ControllerBase cn = this.ViewContext.Controller as MShop.Web.Controllers.ControllerBase;  %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title><%=ViewData["catname"] %>产品目录-<%=cn.ShopContext.Settings.WebSiteTitle %></title>
    <meta name="keywords" content="<%=cn.ShopContext.Settings.WebSiteKeyWords %>" />
    <style type="text/css">
    body{ margin:50px;}
    li{padding:5px;margin:3px;}    
    h2{margin:50px;}
    </style>
    <link type="text/css" rel="stylesheet" href="/css/layout.css" />
</head>
<body>
<div id="content">
 
<ul>
<% foreach (var item in Model)
   { %>
     <li>
       <%=Html.ActionLink(item.ProductName,"item","product",new{id=item.Id},null) %>
     </li>
<%} %>
</ul>
</div>
</body>
</html>

